public interface UserMapper{
List<User> selectAll();
sername")String username,@Param("password") String password);List<User> selectByUsernameAndPassword(@Param("
@Select("select *from user where uid=#{uid}")
List<User> selectByUid(int uid);ere uid=#{uid}")@Update("update user set password=#{password} whint updatePasswordByUid(@Param("uid") int uid,@faram("password")String password);@Delete("delete from user where uid=#{uid}")
int deleteByUid(int uid);
dInsert("insert into user(username,password,phne)values(#fusername},#{password},#{phone})")
}
